package org.unicen.exa.io.worker.assigner.core.model;

public class Worker extends AbstractModel {

	private InstancesType instanceType;
	private Region region;
	private String state;
	private Float maxWeight;
	private Float weight = new Float(0f);

	public InstancesType getInstanceType() {
		return instanceType;
	}

	public void setInstanceType(InstancesType instanceType) {
		this.instanceType = instanceType;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Float getMaxWeight() {
		return maxWeight;
	}

	public void setMaxWeight(Float maxWeight) {
		this.maxWeight = maxWeight;
	}
	
	public void setWeight(Float weight) {
		this.weight = weight;
	}
	
	public Float getWeight() {
		return weight;
	}

}
